<?php
class Config{
    private $cfg = array(
		'url'=>'https://pay.swiftpass.cn/pay/gateway',
        'mchId'=>'101510038317',
        'key'=>'29f9533aeffb87cddf829e0339be22dc',
        'version'=>'2.0',
        'sign_type' => 'MD5',
        'charset' => 'UTF-8',
       );
    
    public function C($cfgName){
        return $this->cfg[$cfgName];
    }
}
?>